<?php global $comfy; ?>
<?php include TEMPLATEPATH. '/website-lib.php'; ?>
<?php include TEMPLATEPATH.'/languages/'.$comfy['language']; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 
<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('title'); ?></title>

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />

<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery-1.3.1.min.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery-custom.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/tabs.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/clear-input.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery.cookie.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/jquery.textarearesizer.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
	$("textarea.resizable:not(.processed)").TextAreaResizer();
	});
</script>
<style type="text/css">
#breadcrumbs{
 padding:8px 10px 8px 10px;
 border:1px solid #09F;
 background:no-repeat left center #F1F9FE;
 }
 ul.breadcrumbs {
      list-style: none;
      padding: 0;
      margin: 0;
      font-size:12px;
 } 
 ul.breadcrumbs li {
      float: left;
      padding: 0;
      margin: 0;
 }
</style>
<?php wp_head(); ?>

</head>
<body>

<?php if($comfy['loptions'] == true) : ?>
<div class="layout_options">
<p><?php print RESET_LAYOUT; ?></p>
<a href="#resetLayout" id="reset"><?php print RESET; ?></a>
</div>
<?php endif; ?>

<div id="wrapper">
<?php include TEMPLATEPATH. '/widgets/header.html'; ?>
<?php include TEMPLATEPATH. '/widgets/menu.html'; ?>

<?php if((!is_home()) && function_exists('bcn_display')){ ?>
	<div id="breadcrumbs" class="breadcrumbs">
	<?php
    {
        PRINT '您当前所在位置：';	//需要做国际化处理
		bcn_display();
    }?>
	</div>
<?php } ?>